package com.winning.pmph.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import javax.persistence.Table;

@Data
@Table(name = "KNOWLEDGE_SYNC_RECORD")
public class KnowledgeSyncRecord {
	private static final long serialVersionUID = 1L;
	
	/**
	 * 同步失败
	 */
	public static final Integer SYNC_STATUS_FAILURE = 0;

	/**
	 * 同步成功
	 */
	public static final Integer SYNC_STATUS_SUCCESS = 1;
	
    /** 知识同步记录ID */
    @TableId
    private String id ;
    /** 知识ID */
    private String knowledgeId;
    /** 知识版本号 */
    private Integer version ;
    /** 应用平台ID */
    private String platformId;
    @TableField(exist = false)
    private String platformName;
    /** 同步标记 */
    private Integer syncFlag;
    /** 操作人 */
    private String operatedBy;
    /** 操作时间 */
    private String operatedTime;
}
